<form id="create-and-edit-one-goods-form" class="form-horizontal create-and-edit-one-goods-form">
	<div class="form-group">
		<label class="control-label span2">
			编号
			<span>*</span>
			：
		</label>
		<div class="span9">
			<input type="text" class="form-control" data-messages="{regexp:'请输入英文字母/数字/中杠“-”/下杠“_”'}" data-rules="{required : true,regexp:/^[A-Za-z0-9_-]+$/,minlength:6,maxlength:20}" name="Number"></div>
	</div>
	<div class="form-group">
		<label class="control-label span2">
			名称
			<span>*</span>
			：
		</label>
		<div class="span9">
			<input type="text" class="form-control" data-messages="{regexp:'请输入汉字/英文字母/数字/中杠“-”/下杠“_”'}" data-rules="{required : true,regexp:/^[\u4E00-\u9FA5A-Za-z0-9_-]+$/,minlength:1,maxlength:20}" name="Name"></div>
	</div>
	<div class="form-group">
		<label class="control-label span2">
			规格
			<span>*</span>
			：
		</label>
		<div class="span9">
			<input type="text" class="form-control" data-rules="{required : true,minlength:1,maxlength:20}" name="Specification"></div>
	</div>
	<div class="form-group">
		<label class="control-label span2">
			所在位置
			<span>*</span>
			：
		</label>
		<div class="span9">
			<input type="text" class="form-control" data-rules="{required : true}" name="Warehouseid"></div>
	</div>
	<div class="form-group">
		<label class="control-label span2">
			初始数量
			<span>*</span>
			：
		</label>
		<div class="row span9">
			<input type="text" class="form-control" data-rules="{required : true,number:true}" name="Quantity">
			<select name="QuantityUnit" class="form-control span2">
				<option value="">请选择</option>
				<option>千克</option>
				<option>个</option>
			</select>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label span2">参考单价：</label>
		<div class="row span9">
			<input type="text" class="form-control" data-rules="{number:true}" name="Price">
			<select name="PriceUnit" class="form-control span2">
				<option value="">请选择</option>
				<option>人民币</option>
				<option>美金</option>
			</select>
		</div>
	</div>
	<div class="create-goods-dialog-err"></div>
</form>

<form id="edit-multi-goods-form" class="form-horizontal create-and-edit-one-goods-form">
	<div class="form-group">
		<label class="control-label span2">
			名称：
		</label>
		<div class="span9">
			<input type="text" class="form-control" name="Name" data-rules="{editInput:/^[\u4E00-\u9FA5A-Za-z0-9_-]+$/}"></div>
	</div>
	<div class="form-group">
		<label class="control-label span2">
			规格：
		</label>
		<div class="span9">
			<input type="text" class="form-control" name="Specification" data-rules="{editInput:/^[\u4E00-\u9FA5A-Za-z0-9_-]+$/}"></div>
	</div>
	<div class="form-group">
		<label class="control-label span2">
			所在位置：
		</label>
		<div class="span9">
			<input type="text" class="form-control" name="Warehouseid" data-rules="{editInput:/^[\u4E00-\u9FA5A-Za-z0-9_-]+$/}"></div>
	</div>
	<div class="form-group">
		<label class="control-label span2">
			初始数量：
		</label>
		<div class="row span9">
			<input type="text" class="form-control" name="Quantity" data-rules="{number:true}">
		</div>
	</div>
		<div class="form-group">
		<label class="control-label span2">
			数量单位：
		</label>
		<div class="row span9">
			<select name="QuantityUnit" class="form-control span2">
				<option value="">请选择</option>
				<option>千克</option>
				<option>个</option>
			</select>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label span2">参考单价：</label>
		<div class="row span9">
			<input type="text" class="form-control" name="Price" data-rules="{number:true}">
		</div>
	</div>
		<div class="form-group">
		<label class="control-label span2">价格单位：</label>
		<div class="row span9">
			<select name="PriceUnit" class="form-control span2">
				<option value="">请选择</option>
				<option>人民币</option>
				<option>美金</option>
			</select>
		</div>
	</div>
	<div class="create-goods-dialog-err"></div>
</form>